﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="ResetPass.aspx.cs" Inherits="Earworm.Web.Registration.ResetPass" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style7
        {
            height: 24px;
            color: #FF0000;
        }
        .style8
        {
            width: 222px;
        }
        .style9
        {
        }
        .style10
        {
            color: #000000;
        }
        .style11
        {
            height: 24px;
            color: #000000;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <table style="width:100%; margin-right: 0px;">
        <tr>
            <td class="style8">
                &nbsp;</td>
            <td>
                <table style="width:100%;">
                    <tr>
                        <td class="style11" colspan="2">
                            Use this page to reset your password.</td>
                    </tr>
                    <tr>
                        <td class="style7">
                            <asp:Label ID="lblEmail" runat="server" Text="Email" CssClass="style10"></asp:Label>
                        </td>
                        <td class="style7">
                            <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvEmail" runat="server" 
                                ControlToValidate="txtEmail" ErrorMessage="Email is required">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style9">
                            <asp:Label ID="lblTempPass" runat="server"
                                Text="Temporary Password" CssClass="style10"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtTempPass" runat="server" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvTempPass" runat="server" 
                                ErrorMessage="Must Enter Temporary Password" ForeColor="Red" 
                                ControlToValidate="txtPass">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style9">
                            <asp:Label ID="lblPass" runat="server" Text="New Password" 
                                CssClass="style10"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtPass" runat="server" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvPass" runat="server" 
                                ErrorMessage="Must Enter Password" ForeColor="Red" 
                                ControlToValidate="txtPass">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style9">
                            <asp:Label ID="lblConfirmPass" runat="server"
                                Text="Confirm Password" CssClass="style10"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtConfirmPass" runat="server" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvConfirmPass" runat="server" 
                                ErrorMessage="Must Confirm Password" ForeColor="Red" 
                                ControlToValidate="txtConfirmPass">*</asp:RequiredFieldValidator>
                            <asp:CompareValidator ID="cvPassword" runat="server" 
                                ErrorMessage="Passwords must match" ForeColor="Red" 
                                ControlToCompare="txtPass" ControlToValidate="txtConfirmPass">*</asp:CompareValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style9">
                            <asp:Button ID="btnExit" runat="server" 
                                PostBackUrl="~/Registration/Welcome.aspx" Text="Exit" />
                        </td>
                        <td>
                            <asp:Button ID="btnChangePass" runat="server" onclick="btnChangePass_Click" 
                                Text="Change Password" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style9" colspan="2">
                            <asp:Label ID="lblMessage" runat="server" ForeColor="Yellow"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
            <td class="style8">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" 
                    Height="85px" />
            </td>
        </tr>
    </table>
</asp:Content>
